package com.google.code.jskills.pages;

import javax.inject.Inject;

import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.basic.Label;

import com.google.code.jskills.business.services.HelloWorldService;

public class Index extends WebPage {

	private static final long serialVersionUID = 1L;

	@Inject
	HelloWorldService service;

	public Index() {
		add(new Label("message", String.format("Message from service: %s", service.getMessage())));
	}
}
